#ifndef COMMANDPACKAGE_H
#define COMMANDPACKAGE_H
#include "Task.h"
enum commandType{Add,Delete,Edit,Update,Undo,Redo,Search,Select,Exit};
enum taskContainer{upcoming,deleted,finished};
class CommandPackage{
Task task;
taskContainer container;
commandType type;
bool stillNeedProcess;//The indicator to know if we need to process another package
public:
	CommandPackage();
	CommandPackage(Task,taskContainer,commandType);
	void setTask(Task);
	void setContainer(taskContainer);
	void setType(commandType);

	Task getTask();
	taskContainer getTaskContainer();
	commandType getType();

	bool StillNeedProcess();
	void setNeedProcessMore(bool isNeed);
};

#endif